//
//  BaseNSView.m
//  TTLldb
//
//  Created by apple on 18/5/10.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "BaseNSView.h"

@interface BaseNSView (){
NSColor* backColor;
}
@end

@implementation BaseNSView

- (void)drawRect:(NSRect)dirtyRect {
    [super drawRect:dirtyRect];
    
    if (backColor == nil) {
        backColor = [NSColor colorWithCalibratedRed:241/255.0 green:241/255.0 blue:241/255.0 alpha:1];
    }

    [backColor set];
    NSRectFill(self.bounds);
}

@end
